package top.lc951.myglide.module;

import android.content.Context;
import android.support.annotation.NonNull;

import top.lc951.myglide.GlideBuilder;

interface AppliesOptions {
    /**
     * Lazily apply options to a {@link GlideBuilder} immediately before the Glide
     * singleton is created.
     *
     * <p>This method will be called once and only once per implementation.
     *
     * @param context An Application {@link android.content.Context}.
     * @param builder The {@link GlideBuilder} that will be used to create Glide.
     */
    void applyOptions(@NonNull Context context, @NonNull GlideBuilder builder);
}
